#ifndef _H_TOOL_
#define _H_TOOL_

extern int remove_uinfo(uinfoptr goal);
extern int v4addr_eql(struct in_addr * le, struct in_addr * rt);
extern int remove_client(uinfoptr le);

extern int p_time_prompt(const char *);
extern int p_v6addr(struct in6_addr *);
extern int p_buf(const void *src, int head, int len);

extern int write_all(int fd, const void * src, int len);
extern int read_msg(int fd, void * dst);

#endif
